package com.sys.dao;

import com.sys.domain.AdminProvince;
import com.sys.domain.AdminProvinceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdminProvinceMapper {
    int countByExample(AdminProvinceExample example);

    int deleteByExample(AdminProvinceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminProvince record);

    int insertSelective(AdminProvince record);

    List<AdminProvince> selectByExample(AdminProvinceExample example);

    AdminProvince selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminProvince record, @Param("example") AdminProvinceExample example);

    int updateByExample(@Param("record") AdminProvince record, @Param("example") AdminProvinceExample example);

    int updateByPrimaryKeySelective(AdminProvince record);

    int updateByPrimaryKey(AdminProvince record);
    /**
     * 根据省份查询
     * @param address
     * @return
     */
    AdminProvince selectByName(String address);
}